<extend name="./Common/View/EasyUI/form.html"/>
<block name="form">
    <div class="row">
        <div class="span12">
            <form method="post" id="pageForm" class="form-horizontal easyui-form" action="Sys/Config/add">
                <input name="id" value="{$vo.id}" type="hidden">
                <table class="table table-bordered table-striped">
                    <tbody>
                    <tr>
                        <th colspan="4">配置信息</th>
                    </tr>
                    <tr>
                        <td class="revise-left" width="15%"><span class="text-error">*</span>配置代码:</td>
                        <td>
                            <input name="code" id="code" type="text" value="" placeholder="请输入配置代码"
                                   class="easyui-validatebox"
                                   data-options="required:true,validType:'length[1,20]'">
                        </td>
                    </tr>
                    <tr>
                        <td class="revise-left" width="15%"><span class="text-error">*</span>配置名称:</td>
                        <td>
                            <input name="title" id="title" type="text" value="" placeholder="请输入配置名称"
                                   class="easyui-validatebox"
                                   data-options="required:true,validType:'length[1,20]'" >
                        </td>
                    </tr>
                    <tr>
                        <td class="revise-left" width="15%">配置类型:</td>
                        <td>
                            <label class="radio inline"><input type="radio" name="type" value="default" checked>普通文本</label>
                            <label class="radio inline"><input type="radio" name="type" value="datetime">日期时间</label>
                            <label class="radio inline"><input type="radio" name="type" value="enum">枚举</label>
                            <label class="radio inline"><input type="radio" name="type" value="text">长文字</label>
                            <label class="radio inline"><input type="radio" name="type" value="file">文件</label>
                            <label class="radio inline"><input type="radio" name="type" value="image">图片</label>
                            <label class="radio inline"><input type="radio" name="type" value="url">URL链接</label>
                            <label class="radio inline"><input type="radio" name="type" value="number">数字</label>
                        </td>
                    </tr>
                    <tr>
                        <td class="revise-left" width="15%">启用状态:</td>
                        <td>
                            <label class="radio inline"><input type="radio" name="status" value="1" checked>启用</label>
                            <label class="radio inline"><input type="radio" name="status" value="0">禁用</label>
                        </td>
                    </tr>
                    <tr>
                        <td>配置说明</td>
                        <td colspan="3">
                            <textarea cols="150" rows="3" name="remark" style="width: 400px;"></textarea>
                        </td>
                    </tr>

                    </tbody>
                </table>

            </form>
        </div>
    </div>
</block>